package com.py.outbound.mapper;

import com.py.outbound.domain.InRejected;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InRejectedMapper {

    /**
     * 查询进货退货单
     * @param inRejected
     * @return
     */
    List<InRejected> selectRejectedList(InRejected inRejected);

    Integer updateInRejected(@Param("code") String code, @Param("status")String status);

    InRejected selectInRejected(@Param("code")String code);

    int updatePurchaseRejectedNumber(@Param("num")Long num, @Param("code")String code, @Param("productCode")String productCode);
}
